package com.biz.primus.ms.tms.stream;

import com.biz.primus.base.constant.DeliveryOrderStreamConstant;
import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * DeliverOrderSink
 *
 * @author JKLiues
 * @date 2017年11月22日
 */
public interface DeliverOrderSink {

    /**
     * 接收OMS推送可配送订单通道
     *
     * @return SubscribableChannel
     */
    @Input(DeliveryOrderStreamConstant.RECEIVE_ORDER)
    SubscribableChannel receive();
}